home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- PARSER(ERROR) 3/30/79 PARSER(ERROR)
-
-
-
- NAME
- Parser error message summary
-
- SYNOPSIS
- Error numbers 2000 - 2999.
-
- DESCRIPTION
- The following errors can be generated by the parser. The
- parser reads your query and translates it into the appropri-
- ate internal form; thus, almost all of these errors indicate
- syntax or type conflict problems.
-
- ERRORS
- 2000 %0 errors were found in quel program
-
- 2100 line %0, Attribute '%1' not in relation '%2'
-
- This indicates that in a given line of the executed
- workspace the indicated attribute name is not a
- domain in the indicated relation.
-
- 2103 line %0, Function type does not match type of attri-
- bute '%1'
-
- This error will be returned if a function expecting
- numeric data is given a character string or vice
- versa. For example, it is illegal to take the SIN
- of a character domain.
-
- 2106 line %0, Data base utility command buffer overflow
-
- This error will result if a utility command is too
- long for the buffer space allocated to it in the
- parser. You must shorten the command or recompile
- the parser.
-
- 2107 line %0, You are not allowed to update this rela-
- tion: %1
-
- This error will be returned if you attempt to update
- any system relation or secondary index directly in
- QUEL (such as the RELATION relation). Such opera-
- tions which compromise the integrity of the data
- base are not allowed.
-
- 2108 line %0, Invalid result relation for APPEND '%1'
-
- This error message will occur if you execute an ap-
- pend command to a relation that does not exist, or
- that you cannot access. For example, append to
- junk( ... ) will fail if junk does not exist.
-
- 2109 line %0, Variable '%1' not declared in RANGE state-
- ment
-
- Here, a symbol was used in a QUEL expression in a
- place where a tuple variable was expected and this
- symbol was not defined via a RANGE statement.
-
- 2111 line %0, Too many attributes in key for INDEX
-
- A secondary index may have no more than 6 keys.
-
- 2117 line %0, Invalid relation name '%1' in RANGE state-
- ment
-
- You are declaring a tuple variable which ranges over
- a relation which does not exist.
-
- 2118 line %0, Out of space in query tree - Query too long
-
- You have the misfortune of creating a query which is
- too long for the parser to digest. The only options
- are to shorten the query or recompile the parser to
- have more buffer space for the query tree.
-
- 2119 line %0, MOD operator not defined for floating point
- or character attributes
-
- The _m_o_d operator is only defined for integers.
-
- 2120 line %0, no pattern match operators allowed in the
- target list
-
- Pattern match operators (such as ``*'') can only be
- used in a qualification.
-
- 2121 line %0, Only character type domains are allowed in
- CONCAT operator
-
- 2123 line %0, '%1.all' not defined for replace
-
- 2125 line %0, Cannot use aggregates ("avg" or "avgu") on
- character values
- 2126 line %0, Cannot use aggregates ("sum" or "sumu") on
- character values
- 2127 line %0, Cannot use numerical functions (ATAN, COS,
- GAMMA, LOG, SIN, SQRT, EXP, ABS) on character values
- 2128 line %0, Cannot use unary operators ("+" or "-") on
- character values
- 2129 line %0, Numeric operations (+ - * /) not allowed on
- character values
-
- Many functions and operators are meaningless when
- applied to character values.
-
- 2130 line %0, Too many result domains in target list
-
- Maximum number of result domains is MAXDOM (current-
- ly 49).
-
- 2132 line %0, Too many aggregates in this query
-
- Maximum number of aggregates allowed in a query is
- MAXAGG (currently 49).
-
- 2133 line %0, Type conflict on relational operator
-
- It is not legal to compare a character type to a
- numeric type.
-
- 2134 line %0, '%1' is not a constant operator.
- Only 'dba' or 'usercode' are allowed.
-
- 2135 line %0, You cannot duplicate the name of an exist-
- ing relation(%1)
-
- You have tried to create a relation which would
- redefine an existing relation. Choose another name.
-
- 2136 line %0, There is no such hour as %1, use a 24 hour
- clock system
- 2137 line %0, There is no such minute as %1, use a 24
- hour clock system
- 2138 line %0, There is no such time as 24:%1, use a 24
- hour clock system
-
- Errors 2136-38 indicate that you have used a bad
- time in a _p_e_r_m_i_t statement. Legal times are from
- 0:00 to 24:00 inclusive.
-
- 2139 line %0, Your database does not support query modif-
- ication
-
- You have tried to issue a query modification state-
- ment (_d_e_f_i_n_e), but the database was created with the
- -_q flag. To use the facilities made available by
- query modification, you must say:
-
- creatdb -e +q _d_b_n_a_m_e
-
- to the shell.
-
- 2500 line %0, The word '%1', cannot follow this command
-
- A 2500 error is reported by the parser if it cannot
- otherwise classify the error. One common way to ob-
- tain this error is to omit the required parentheses
- around the target list. The parser reports the last
- symbol which was obtained from the scanner. Some-
- times, the last symbol is far ahead of the actual
- place where the error occurred. The string "EOF" is
- used for the last symbol when the parser has read
- past the query.
-
- 2501 line %0, The word '%1', cannot follow a RETRIEVE
- command
- 2502 line %0, The word '%1', cannot follow an APPEND com-
- mand
- 2503 line %0, The word '%1', cannot follow a REPLACE com-
- mand
- 2504 line %0, The word '%1', cannot follow a DELETE com-
- mand
- 2507 line %0, The word '%1', cannot follow a DESTROY com-
- mand
- 2508 line %0, The word '%1', cannot follow a HELP command
- 2510 line %0, The word '%1', cannot follow a MODIFY com-
- mand
- 2511 line %0, The word '%1', cannot follow a PRINT com-
- mand
- 2515 line %0, The word '%1', cannot follow a RETRIEVE
- UNIQUE command
- 2516 line %0, The word '%1', cannot follow a DEFINE VIEW
- command
- 2519 line %0, The word '%1', cannot follow a HELP VIEW,
- HELP INTEGRITY, or HELP PERMIT command
- 2522 line %0, The word '%1', cannot follow a DEFINE PER-
- MIT command
- 2523 line %0, The word '%1', cannot follow a DEFINE IN-
- TEGRITY command
- 2526 line %0, The word '%1', cannot follow a DESTROY IN-
- TEGRITY or DESTROY PERMIT command
-
- Errors 2502 through 2526 indicate that after an oth-
- erwise valid query, there was something which could
- not begin another command. The query was therefore
- aborted, since this could have been caused by
- misspelling _w_h_e_r_e or something equally as dangerous.
-
- 2600 syntax error on line %0
- last symbol read was: '%1'
- 2601 line %0, Syntax error on '%1', the correct syntax
- is:
- RETRIEVE [[INTO]relname] (target_list) [WHERE qual]
- RETRIEVE UNIQUE (target_list) [WHERE qual]
- 2602 line %0, Syntax error on '%1', the correct syntax
- is:
- APPEND [TO] relname (target_list) [WHERE qual]
- 2603 line %0, Syntax error*a%1', the correct syntax is:
- REPLACE tuple_variable (target_list) [WHERE qual]
- 2604 line %0, Syntax error on '%1', the correct syntax
- is:
- DELETE tuple_variable [WHERE qual]
- 2605 line %0, Syntax error on '%1', the correct syntax
- is:
- COPY relname (domname = format {, domname = format})
- direction
- 2606 line %0, Syntax error on '%1', the correct syntax
- is:
- CREATE relname (domname1 = format{, domname2 = for-
- mat})
- 2607 line %0, Syntax error on '%1', the correct syntax
- is:
- DESTROY relname {, relname}
- DESTROY [PERMIT | INTEGRITY] relname [integer in-
- teger} | ALL]
- 2609 line %0, Syntax error on '%1', the correct syntax
- is:
- INDEX ON relname IS indexname (domain1{, domain2})
- 2610 line %0, Syntax error on '%1', the correct syntax
- is:
- MODIFY relname TO storage-structure [ON key1 [: sor-
- tord]
- [{, key2 [:sortorder]}]] [WHERE [FILLFACTOR = n] [,
- MINPAGES = n] [, MAXPAGES = n]]
- 2611 line %0, Syntax error on '%1', the correct syntax
- is:
- PRINT relname{, relname}
- 2612 line %0, Syntax error on '%1', the correct syntax
- is:
- RANGE OF variable IS relname
- 2613 line %0, Syntax error on '%1', the correct syntax
- is:
- SAVE relname UNTIL month day year
- 2614 line %0, Syntax error on '%1', the correct syntax
- is:
- DEFINE VIEW name (target list) [WHERE qual]
- DEFINE PERMIT oplist {ON|OF|TO} var [(attlist)] TO
- name [AT term] [FROM time TO time] [ON day TO day]
- [WHERE qual]
- DEFINE INTEGRITY ON var IS qual
- 2615 line %0, Syntax error on '%1', the correct syntax
- is:
- RETRIEVE UNIQUE (target_list) [WHERE qual]
- 2616 line %0, Syntax error on '%1', the correct syntax
- is:
- DEFINE VIEW name (target_list) [WHERE qual]
- 2619 line %0, Syntax error on '%1', the correct syntax
- is:
- HELP VIEW relname[, relname]
- HELP PERMIT relname[, relname]
- HELP INTEGRITY relname[, relname]
- 2622 line %0, Syntax error on '%1', the correct syntax
- is:
- DEFINE PERMIT oplist {ON|OF|TO} var [(attlist)] TO
- name [AT term] [FROM time TO time] [ON day TO day]
- [WHERE qual]
- 2623 line %0, Syntax error on '%1', the correct syntax
- is:
- DEFINE INTEGRITY ON var IS qual
-
- Errors 2600 through 2623 are generated when a
- command's syntax has been violated. The correct
- syntax is given. If the command cannot be deter-
- mined, error 2600 is given.
-
- 2700 line %0, non-terminated string
-
- You have omitted the required string terminator (").
-
- 2701 line %0, string too long
-
- Somehow, you have had the persistence or misfortune
- to enter a character string constant longer than 255
- characters.
-
- 2702 line %0, invalid operator
-
- You have entered a character which is not al-
- phanumeric, but which is not a defined operator, for
- example, "?".
-
- 2703 line %0, Name too long '%1'
-
- In INGRES relation names and domain names are limit-
- ed to 12 characters.
-
- 2704 line %0, Out of space in symbol table - Query too
- long
-
- Your query is too big to process. Try breaking it
- up with more _\_g_o commands.
-
- 2705 line %0, non-terminated comment
-
- You have left off the comment terminator symbol
- (``*/'').
-
- 2707 line %0, bad floating constant: %1
-
- Either your floating constant was incorrectly speci-
- fied or it was too large or too small. Currently,
- overflow and underflow are not checked.
-
- 2708 line %0, control character passed in pre-converted
- string
-
- In EQUEL a control character became embedded in a
- string and was not caught until the scanner was pro-
- cessing it.
-
- 2709 line %0, buffer overflow in converting a number
-
- Numbers cannot exceed 256 characters in length.
- This shouldn't become a problem until number formats
- in INGRES are increased greatly.
-
- 2800 line %0, yacc stack overflow in parsing query
-
-
-